package com.ecfront.dao;

import java.util.List;

import com.ecfront.pojo.Supplier;

public interface SupplierDAO {

	// property constants
	public static final String SU_NAME = "name";
	public static final String SU_GOODS = "goods";
	public static final String SU_ADD = "add";
	public static final String SU_CONTACT = "contact";
	public static final String SU_PHONE = "phone";
	public static final String SU_QQ = "qq";
	public static final String SU_EMAIL = "email";
	public static final String SU_WEB_SITE = "webSite";

	public abstract void save(Supplier transientInstance);

	public abstract void delete(Supplier persistentInstance);

	public abstract Supplier findById(java.lang.Integer id);

	public abstract List findByExample(Supplier instance);

	public abstract List findByProperty(String propertyName, Object value);

	public abstract List findBySuName(Object suName);

	public abstract List findBySuGoods(Object suGoods);

	public abstract List findBySuAdd(Object suAdd);

	public abstract List findBySuContact(Object suContact);

	public abstract List findBySuPhone(Object suPhone);

	public abstract List findBySuQq(Object suQq);

	public abstract List findBySuEmail(Object suEmail);

	public abstract List findBySuWebSite(Object suWebSite);

	public abstract List findAll();

}